package com.situ.day4;

import javax.print.attribute.standard.RequestingUserName;

public class Number {
	protected int num1; 
	protected int num2;
	public Number() {
		super(); //写不写一样
	}
	
	public Number(int num1, int num2) {
		super();
		this.num1 = num1;
		this.num2 = num2;
	}

//	public int add(){          //加法
//		return num1 + num2;
//	}
	
	
	
	
	
	public int getNum1() {
		return num1;
	}

	public void setNum1(int num1) {
		this.num1 = num1;
	}

	public int getNum2() {
		return num2;
	}

	public void setNum2(int num2) {
		this.num2 = num2;
	}
	
	public int getResult(){
		
		return 0;
	}
}
